package com.ruyuan.eshop.data.migrate.tool.model.order;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 订单售后表
 * </p>
 *
 * @author zhonghuashishan
 */
@TableName("after_sale_info")
public class AfterSaleInfoDO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.NONE)
    private Long id;

    /**
     * 接入方业务线标识  1, "自营商城"
     */
    private Integer businessIdentifier;

    /**
     * 售后单号
     */
    private String afterSaleId;

    /**
     * 订单号
     */
    private String orderId;

    /**
     * 订单来源渠道
     */
    private Integer orderSourceChannel;

    /**
     * 购买用户id
     */
    private String userId;

    /**
     * 售后单状态
     */
    private Integer afterSaleStatus;

    /**
     * 订单类型
     */
    private Integer orderType;

    /**
     * 申请售后来源
     */
    private Integer applySource;

    /**
     * 申请售后时间
     */
    private Date applyTime;

    /**
     * 申请原因编码
     */
    private Integer applyReasonCode;

    /**
     * 申请原因
     */
    private String applyReason;

    /**
     * 客服审核时间
     */
    private Date reviewTime;

    /**
     * 客服审核来源
     */
    private Integer reviewSource;

    /**
     * 客服审核结果编码
     */
    private Integer reviewReasonCode;

    /**
     * 客服审核结果
     */
    private String reviewReason;

    /**
     * 售后类型
     */
    private Integer afterSaleType;

    /**
     * 售后类型详情枚举
     */
    private Integer afterSaleTypeDetail;

    /**
     * 申请退款金额
     */
    private Integer applyRefundAmount;

    /**
     * 实际退款金额
     */
    private Integer realRefundAmount;

    /**
     * 备注
     */
    private String remark;

    /**
     * 创建时间
     */
    private Date gmtCreate;

    /**
     * 更新时间
     */
    private Date gmtModified;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getBusinessIdentifier() {
        return businessIdentifier;
    }

    public void setBusinessIdentifier(Integer businessIdentifier) {
        this.businessIdentifier = businessIdentifier;
    }

    public String getAfterSaleId() {
        return afterSaleId;
    }

    public void setAfterSaleId(String afterSaleId) {
        this.afterSaleId = afterSaleId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public Integer getOrderSourceChannel() {
        return orderSourceChannel;
    }

    public void setOrderSourceChannel(Integer orderSourceChannel) {
        this.orderSourceChannel = orderSourceChannel;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getAfterSaleStatus() {
        return afterSaleStatus;
    }

    public void setAfterSaleStatus(Integer afterSaleStatus) {
        this.afterSaleStatus = afterSaleStatus;
    }

    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }

    public Integer getApplySource() {
        return applySource;
    }

    public void setApplySource(Integer applySource) {
        this.applySource = applySource;
    }

    public Date getApplyTime() {
        return applyTime;
    }

    public void setApplyTime(Date applyTime) {
        this.applyTime = applyTime;
    }

    public Integer getApplyReasonCode() {
        return applyReasonCode;
    }

    public void setApplyReasonCode(Integer applyReasonCode) {
        this.applyReasonCode = applyReasonCode;
    }

    public String getApplyReason() {
        return applyReason;
    }

    public void setApplyReason(String applyReason) {
        this.applyReason = applyReason;
    }

    public Date getReviewTime() {
        return reviewTime;
    }

    public void setReviewTime(Date reviewTime) {
        this.reviewTime = reviewTime;
    }

    public Integer getReviewSource() {
        return reviewSource;
    }

    public void setReviewSource(Integer reviewSource) {
        this.reviewSource = reviewSource;
    }

    public Integer getReviewReasonCode() {
        return reviewReasonCode;
    }

    public void setReviewReasonCode(Integer reviewReasonCode) {
        this.reviewReasonCode = reviewReasonCode;
    }

    public String getReviewReason() {
        return reviewReason;
    }

    public void setReviewReason(String reviewReason) {
        this.reviewReason = reviewReason;
    }

    public Integer getAfterSaleType() {
        return afterSaleType;
    }

    public void setAfterSaleType(Integer afterSaleType) {
        this.afterSaleType = afterSaleType;
    }

    public Integer getAfterSaleTypeDetail() {
        return afterSaleTypeDetail;
    }

    public void setAfterSaleTypeDetail(Integer afterSaleTypeDetail) {
        this.afterSaleTypeDetail = afterSaleTypeDetail;
    }

    public Integer getApplyRefundAmount() {
        return applyRefundAmount;
    }

    public void setApplyRefundAmount(Integer applyRefundAmount) {
        this.applyRefundAmount = applyRefundAmount;
    }

    public Integer getRealRefundAmount() {
        return realRefundAmount;
    }

    public void setRealRefundAmount(Integer realRefundAmount) {
        this.realRefundAmount = realRefundAmount;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    @Override
    public String toString() {
        return "AfterSaleInfoDO{" +
        "id=" + id +
        ", businessIdentifier=" + businessIdentifier +
        ", afterSaleId=" + afterSaleId +
        ", orderId=" + orderId +
        ", orderSourceChannel=" + orderSourceChannel +
        ", userId=" + userId +
        ", afterSaleStatus=" + afterSaleStatus +
        ", orderType=" + orderType +
        ", applySource=" + applySource +
        ", applyTime=" + applyTime +
        ", applyReasonCode=" + applyReasonCode +
        ", applyReason=" + applyReason +
        ", reviewTime=" + reviewTime +
        ", reviewSource=" + reviewSource +
        ", reviewReasonCode=" + reviewReasonCode +
        ", reviewReason=" + reviewReason +
        ", afterSaleType=" + afterSaleType +
        ", afterSaleTypeDetail=" + afterSaleTypeDetail +
        ", applyRefundAmount=" + applyRefundAmount +
        ", realRefundAmount=" + realRefundAmount +
        ", remark=" + remark +
        ", gmtCreate=" + gmtCreate +
        ", gmtModified=" + gmtModified +
        "}";
    }
}
